package com.foreknow.service;

import com.foreknow.entity.User;

import java.util.List;

public interface UserServie {
    /**
     * 登录
     * @param userName
     * @param password
     * @return
     */
    public User login(String userName, String password);

    /**
     * 显示用户列表
     * @param deptId
     * @param registLeId
     * @return
     */
    public List<User> getUserList(Integer deptCategoryId,Integer deptId,Integer registLeId,Integer pageNum,Integer pageSize);
}
